import java.util.ArrayList;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;


public class Collection1 {
	public static void main(String[] args) {
		List<Integer> harryList = new ArrayList<Integer>();
		harryList = new LinkedList<Integer>();
		
//		Set<String> set = new HashSet<String>(5);
//		System.out.println(set.add("harry"));;
//		System.out.println(set.add("mahi"));
//		set.add("test");
//		System.out.println(set.add("harry"));;
//		System.out.println(set.size());
//		
		Student student = new Student("mahi");
		
		Student student1 = new Student("harry");
		
		student1.equals("harry");
		boolean isEqual = student.equals(student1);
		
		Student student2 = new Student("harry");
		
		boolean isEqualAgain = student1.equals(student2);
//		
//		Set<Student> empSet = new HashSet<Student>();
//		empSet.add(new Student("a"));
//		empSet.add(new Student("b"));
//		empSet.add(new Student("a"));
//		System.out.println(empSet.size());
//		System.out.println(empSet);
		
	}
}
